package com.gagakuai.bpm.common.constants;

/*
 * @program: mss_server
 * @description:
 * @author: houhong
 * @create: 2022-03-24 20:06
 */
public class MsgLogConstants {


    /*
     * 发送中
     */
    public static final String BPM_WITH_DEAW_SENDING = "0";


    /*
     * 消费者最大重试次数
     */
    public static final Integer CONSUMER_RETRY_THREAD_SHOLD = 3;


    /*
     * 发送成功
     */
    public static final String BPM_WITH_DEAW_SEND_SUCCESS = "1";

    /*
     * 失败
     */
    public static final String BPM_WITH_DEAW_SEND_FAILURE = "2";

    /*
     * 消息消费成功
     */
    public static final String BPM_WITH_DEAW_CONSUME_SUCCESS = "3";

    /*
     * 消费失败
     */
    public static final String BPM_WITH_DEAW_CONSUME_FAILURE = "4";


    /*
     * 分钟超时单位
     */
    public static final Integer BPM_WITH_DEAW_TIMEOUT = 1;

    /*
     * 消息存入redis的_prexkey
     */
    public static final String MSG_INFO_BPM_PREX_MSS = "bpm-msg:mss:";

    /*
     * 退回到第一步的KEY
     */
    public static final String MSG_INFO_BPM_PREX_MSS_FIRST = "bpm-msg:mss:withdrawfirst:";
}